/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package kata;
import java.util.*;

/**
 *
 * @author Ronald
 */
public class Armor
{
    String name;
    int protection;
    int encumbrance;

    public Armor()
    {

    }

    public Armor(String newName, int newProtection, int newEncumbrance)
    {
        this.name = newName;
        this.encumbrance = newEncumbrance;
        this.protection = newProtection;
    }
    public void createArmor()
    {
        Scanner in = new Scanner(System.in);
        System.out.println("Name for armor: ");
        name = in.next();
        protection = (int)(Math.random() * 20) + 1;
        encumbrance = (int)(Math.random() * 20) + 1;
    }
}
